package com.zycfc.zsf.boot.mybatis.dynamicdatasource;

public enum DataSourceType
{
    read("read", "\u4ece\u5e93"), 
    write("write", "\u4e3b\u5e93");
    
    private String type;
    private String name;
    
    private DataSourceType(final String type, final String name) {
        this.type = type;
        this.name = name;
    }
    
    public String getType() {
        return this.type;
    }
    
    public String getName() {
        return this.name;
    }
}
